package com.yudaxian.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yudaxian
 * @since 2023-12-05
 */
@TableName("x_model_sensor")
public class ModelSensor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String deviceName;

    private String deviceType;

    private Integer deviceNumber;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    private String createTime;

    private String upInterval;

    private String protocol;

    private String dataPointName;

    private Integer lowThreshold;

    private Integer highThreshold;

    private String dataPointExtra;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }
    public Integer getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(Integer deviceNumber) {
        this.deviceNumber = deviceNumber;
    }
    public String getUpInterval() {
        return upInterval;
    }

    public void setUpInterval(String upInterval) {
        this.upInterval = upInterval;
    }
    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }
    public String getDataPointName() {
        return dataPointName;
    }

    public void setDataPointName(String dataPointName) {
        this.dataPointName = dataPointName;
    }
    public Integer getLowThreshold() {
        return lowThreshold;
    }

    public void setLowThreshold(Integer lowThreshold) {
        this.lowThreshold = lowThreshold;
    }
    public Integer getHighThreshold() {
        return highThreshold;
    }

    public void setHighThreshold(Integer highThreshold) {
        this.highThreshold = highThreshold;
    }
    public String getDataPointExtra() {
        return dataPointExtra;
    }

    public void setDataPointExtra(String dataPointExtra) {
        this.dataPointExtra = dataPointExtra;
    }

    @Override
    public String toString() {
        return "ModelSensor{" +
            "id=" + id +
            ", deviceName=" + deviceName +
            ", deviceType=" + deviceType +
            ", deviceNumber=" + deviceNumber +
            ", createTime=" + createTime +
            ", upInterval=" + upInterval +
            ", protocol=" + protocol +
            ", dataPointName=" + dataPointName +
            ", lowThreshold=" + lowThreshold +
            ", highThreshold=" + highThreshold +
            ", dataPointExtra=" + dataPointExtra +
        "}";
    }
}
